package com.zret.oasys.service.impl;

import java.util.List;

import com.zret.oasys.entity.Position;
import com.zret.oasys.service.PositionService;

public class PositionServiceImpl implements PositionService {
    //模糊查询方法
	@Override
	public List<Position> getByLikeId(String id) {
		
		return psd.getPositionByLikeId(id);
	}

	@Override
	public List<Position> getPosition() {
		List<Position> list=psd.getPosition();
		if (list == null)
		{
			return null;
		}
		return list;
	}

	@Override
	public Position getPositionByName(String position) {
		// TODO Auto-generated method stub
		Position pos = psd.getPositionByName(position);
		return pos;
	}

}
